<template>
  <div class="reminder-bar">
    <div class="reminder-content">
      <el-icon><Timer /></el-icon>
      <span class="time">{{ startTime }}</span>
      <span class="meeting-text">Meeting meeting</span>
    </div>
    <div class="online-count">
      <el-icon><User /></el-icon>
      <span>{{ onlineCount }} 人在线</span>
    </div>
  </div>
</template>

<script setup>
import { Timer, User } from "@element-plus/icons-vue";

defineProps({
  time: String,
  onlineCount: Number,
});
</script>

<style lang="scss" scoped>
.reminder-bar {
  background: #1e1f3a;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  .reminder-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4080ff;

    .time {
      font-weight: 500;
    }
  }

  .online-count {
    color: #4080ff;
    display: flex;
    align-items: center;
    gap: 6px;
  }
}
</style>
